package com.yangwp.doutu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@RequestMapping("/")
@Controller
public class IndexController {

    @ResponseBody
    @RequestMapping("")
    public String index(){
        return "welcome";
    }

}
